3.2620 \(\int \frac{x^{-1+n}}{\left (a+b x^n\right )^2} \, dx\)

Optimal. Leaf size=17 \[ -\frac{1}{b n \left (a+b x^n\right )} \]

[Out]

-(1/(b*n*(a + b*x^n)))

_______________________________________________________________________________________

Rubi [A]  time = 0.0207707, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ -\frac{1}{b n \left (a+b x^n\right )} \]

Antiderivative was successfully verified.

[In]  Int[x^(-1 + n)/(a + b*x^n)^2,x]

[Out]

-(1/(b*n*(a + b*x^n)))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 2.43382, size = 12, normalized size = 0.71 \[ - \frac{1}{b n \left (a + b x^{n}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**(-1+n)/(a+b*x**n)**2,x)

[Out]

-1/(b*n*(a + b*x**n))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0135782, size = 17, normalized size = 1. \[ -\frac{1}{b n \left (a+b x^n\right )} \]

Antiderivative was successfully verified.

[In]  Integrate[x^(-1 + n)/(a + b*x^n)^2,x]

[Out]

-(1/(b*n*(a + b*x^n)))

_______________________________________________________________________________________

Maple [A]  time = 0.027, size = 24, normalized size = 1.4 \[{\frac{{{\rm e}^{n\ln \left ( x \right ) }}}{an \left ( a+b{{\rm e}^{n\ln \left ( x \right ) }} \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^(-1+n)/(a+b*x^n)^2,x)

[Out]

1/a/n*exp(n*ln(x))/(a+b*exp(n*ln(x)))

_______________________________________________________________________________________

Maxima [A]  time = 1.44208, size = 23, normalized size = 1.35 \[ -\frac{1}{{\left (b x^{n} + a\right )} b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^(n - 1)/(b*x^n + a)^2,x, algorithm="maxima")

[Out]

-1/((b*x^n + a)*b*n)

_______________________________________________________________________________________

Fricas [A]  time = 0.214431, size = 23, normalized size = 1.35 \[ -\frac{1}{b^{2} n x^{n} + a b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^(n - 1)/(b*x^n + a)^2,x, algorithm="fricas")

[Out]

-1/(b^2*n*x^n + a*b*n)

_______________________________________________________________________________________

Sympy [A]  time = 36.2281, size = 51, normalized size = 3. \[ \begin{cases} \tilde{\infty } \log{\left (x \right )} & \text{for}\: a = 0 \wedge b = 0 \wedge n = 0 \\- \frac{x^{- n}}{b^{2} n} & \text{for}\: a = 0 \\\frac{\tilde{\infty } x^{n}}{n} & \text{for}\: b = - a x^{- n} \\\frac{\log{\left (x \right )}}{\left (a + b\right )^{2}} & \text{for}\: n = 0 \\\frac{x^{n}}{a^{2} n + a b n x^{n}} & \text{otherwise} \end{cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**(-1+n)/(a+b*x**n)**2,x)

[Out]

Piecewise((zoo*log(x), Eq(a, 0) & Eq(b, 0) & Eq(n, 0)), (-x**(-n)/(b**2*n), Eq(a
, 0)), (zoo*x**n/n, Eq(b, -a*x**(-n))), (log(x)/(a + b)**2, Eq(n, 0)), (x**n/(a*
*2*n + a*b*n*x**n), True))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.214616, size = 23, normalized size = 1.35 \[ -\frac{1}{{\left (b x^{n} + a\right )} b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^(n - 1)/(b*x^n + a)^2,x, algorithm="giac")

[Out]

-1/((b*x^n + a)*b*n)